const koa = require("koa");
const app = new koa();
const router = require("koa-router")();
router.get("/",async ctx=>{
    ctx.body = {
        code:200,
        msg:"hello aliyun"
    }
})
app.use(router.routes())
app.listen(8080);